<template>
  <wx-open-launch-weapp
    id="launch-btn"
    :appid="appId"
    :username="ghId"
    :path="path"
  >
    <script type="text/wxtag-template">
      <slot></slot>
    </script>
  </wx-open-launch-weapp>
</template>
<script>
export default {
  name: 'openWeApp',
  props: {
    appId: {
      type: String,
      default: '',
    },
    ghId: {
      type: String,
      default: '',
    },
    path: {
      type: String,
      default: '',
    },
  },
}
</script>
